package com.ctsi.framework.common.constant;

/**
 * @Auther: zhangjw
 * @Date: 2018/7/1 19:57
 * @Description: 全局变量
 */
public class GlobalConstant {


    public static class RequestHeader{
        public static final String UNKNOWN = "unknown";

        public static final String X_FORWARDED_FOR = "X-Forwarded-For";
        public static final String X_REAL_IP = "X-Real-IP";
        public static final String PROXY_CLIENT_IP = "Proxy-Client-IP";
        public static final String WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";
        public static final String HTTP_CLIENT_IP = "HTTP_CLIENT_IP";
        public static final String HTTP_X_FORWARDED_FOR = "HTTP_X_FORWARDED_FOR";


        public static final String LOCALHOST_IP = "127.0.0.1";
        public static final String LOCALHOST_IP_16 = "0:0:0:0:0:0:0:1";
        public static final int MAX_IP_LENGTH = 15;
    }

    public static class SYS {
        /**
         * 全局用户标识
         */
        public static final String CURRENT_USER = "CURRENT_USER";
        /**
         * 系统全局模块字典名称
         */
        public static final String DICT_TREE_MODULE_TYPE = "moduleType";

    }


}
